<button id="addQuestion" class="btn btn-default btn-lg btn-warning" title="<?php echo translate("button_add_question"); ?>" product_id="<?php echo $page["id"]; ?>">
	<span class="glyphicon glyphicon-plus"></span>&nbsp; <?php echo translate("button_add_question"); ?>
</button>
<?php if($questionCount == 0): ?>
	<div class="alert alert-danger"><?php echo translate("no_questions_yet");?></div>
<?php endif; ?>
<br />
<?php $questionIndex = 1; foreach($questions as $question): ?>
	<div>
		<span class="glyphicon glyphicon-envelope"></span>&nbsp;<span><?php echo $question["name"]; ?></span>&nbsp;
		<?php
			$date = strftime('%d %B %Y', $question["date"]);
			$answerDate = strftime('%d %B %Y', $question["answer_date"]);
		?>
		<span class="glyphicon glyphicon-calendar"></span>&nbsp;<span><?php echo $date; ?></span>
		<p><?php echo $question["question"]; ?></p>
	
	
		<div class="indent">
			<span class="glyphicon glyphicon-calendar"></span>&nbsp;<span><?php echo $answerDate; ?></span>
			<p><?php echo $question["answer"]; ?></p>
		</div>
	
	</div>
	<?php if($questionIndex < $commentCount):?>
		<hr />
	<?php endif; $questionIndex++;?>
<?php endforeach; ?>